package org.plan;

import java.util.ArrayList;
import java.util.List;

public class SchoolPlan {
    String schoolName;

    public String getSchoolName() {
        return schoolName;
    }

    public String getSchoolProvince() {
        return schoolProvince;
    }

    public String getSchoolAddress() {
        return schoolAddress;
    }

    public String getSponsor() {
        return sponsor;
    }

    String schoolProvince;
    String schoolAddress;
    String sponsor;


    List<Plan> plans = new ArrayList<>();

    public SchoolPlan(String schoolName, String schoolProvince, String schoolAddress, String sponsor) {
        this.schoolName = schoolName;
        this.schoolProvince = schoolProvince;
        this.schoolAddress = schoolAddress;
        this.sponsor = sponsor;
    }

    public List<Plan> getPlans() {
        return plans;
    }

    public void addPlan(Plan plan) {
        this.plans.add(plan);
    }
}

